export const data = {
  form: {},
  queryParams: {
    total: 0,
    dateRange: [],
    pageNum: 1,
    pageSize: 10,
    warehouseNo: null,
    warehouseName: null,
    warehouseType: null,
    warehouseStatus: null,
    status: null,
    createName: null,
    comments: null,
  },
  rules: {
    warehouseNo: [
      { required: true, message: "仓库编号不能为空", trigger: "blur" },
    ],
    warehouseType: [
      { required: true, message: "仓库类型不能为空", trigger: "blur" },
    ],
  }
}

export const column = [
  { prop: "warehouseNo", label: "仓库编号" },
    { prop: "warehouseName", label: "仓库名称",width: 155, minWidth: 50 },
    { prop: "warehouseType", label: "仓库类型" },
    { prop: "warehouseStatus", label: "仓库状态" },
    { prop: "createName", label: "创建者" },
    { prop: "createDate", label: "创建时间", width: "180px" },
    { prop: "updateName", label: "更新者" },
    { prop: "updateDate", label: "更新时间", width: "180px" },
    { prop: "comments", label: "备注信息" },
    { prop: "operate", label: "操作", fixed: "right", type: 'detail' },
]
export const formList = [
  { prop: "warehouseNo", label: "仓库编号" },
    { prop: "warehouseName", label: "仓库名称" },
    { prop: "warehouseType", label: "仓库类型", type: 'select' },
    { prop: "warehouseStatus", label: "仓库状态", type: 'select' },
    { prop: "comments", label: "备注信息" },
    { prop: "createName", label: "创建者" },
    { prop: "createDate", label: "创建时间"},
]